<template>
  <div id='homeSwiper'>
    <swiper>
      <swiper-item v-for="item in banner.list">
        <a :href="item.link"><img :src="item.image" alt=""></a>
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
  import { Swiper, SwiperItem } from 'components/common/Swiper/index.js'

  export default {
    name: 'homeSwiper',
    data() {
      return {}
    },
    props: {
      banner: {
        type: Object,
        default() {

        }
      }
    },
    components: {
      Swiper, SwiperItem
    },
    methods: {},
  }
</script>

<style scoped>
  #homeSwiper img {
    height: 100%;

  }
</style>